package com.zhao.dota.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhao.dota.model.DotaMatch;
import com.zhao.dota.struct.MonthMatches;

import java.time.YearMonth;
import java.util.List;

public interface MatchService extends IService<DotaMatch> {

    boolean save(DotaMatch dotaMatch);

    DotaMatch getByMatchId(Long matchId);

    Double countTimeBySteamId(Long steamId, int limit);

    List<DotaMatch> getNormalMonthMatch(YearMonth yearMonth);

    List<MonthMatches> monthMatches();

}
